package com.cn.lg.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServlet;

/**
 * Created by liguang on 2017/6/11.
 */

@Controller
@RequestMapping("/index")
public class LoginController {

    /*跳转到登陆页*/
    @RequestMapping("/index.do")
    public String index(){
        return "login/login";
    }

    @RequestMapping("/login")
    public String login(String username, String password){
        System.out.print(username);
        System.out.print(password);
        System.out.print("ssssssssss");
        return "";
    }


}
